﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BrightIdeasSoftware;

namespace ROrganizer.UI.Forms.Core
{
    public static class ListExtensions
    {
        public static void Normalize(this ObjectListView olv)
        {
            olv.BorderStyle = BorderStyle.FixedSingle;
            olv.FullRowSelect = true;
            olv.UseExplorerTheme = true;
            olv.ShowItemCountOnGroups = true;
            olv.SortGroupItemsByPrimaryColumn = false;
            olv.SpaceBetweenGroups = 1;
        }
    }
}
